package com.itheima.service.impl;

import com.itheima.service.UserService;

public class UserServiceImpl implements UserService {

    public void say() {
        System.out.println("user say");
    }

    public void speak() {
        System.out.println("user speak");
    }
    public String findByName(){
        //spring.xml中切入点表达式写的是public void
        //本方法返回值类型是String,和spring.xml写的返回值
        //类型不一致,所以,尽管,他是空参方法,但是不会被增强
        System.out.println("findByName");
        return "abc";
    }
}
